aboutsummaryrefslogtreecommitdiff
path: root/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapsh...
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-08-27 21:56:25 +0100
committerMichael Williamson <mike@zwobble.org>2023-08-27 21:56:25 +0100
commitd408f4f80670ed7f73d09f8ccfefdcb8a7835406 (patch)
treed298ac2139b3ee98606fcb6164ef306c16605b8f /snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
parent7afd4bc26233bae7bc087b778c4378dbd8f6ff73 (diff)
Add Patio code gen for loop instructions
Diffstat (limited to 'snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected')
-rw-r--r--snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected18
1 files changed, 18 insertions, 0 deletions
diff --git a/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
new file mode 100644
index 00000000..b48157df
--- /dev/null
+++ b/snapshots/[engine:junit-jupiter]/[class:org.shedlang.compiler.patio.PatioCodeGenLoopTests]/[method:canGenerateCodeForLoop(org.shedlang.compiler.testing.snapshots.Snapshotter)].expected
@@ -0,0 +1,18 @@
+Compilation unit elements:
+
+
+Locals:
+ * (val "tmp__0" int)
+
+Instructions:
+
+(
+ (
+ loop
+ (
+ (local-store (local "tmp__0") (int 1))
+ )
+ )
+)
+
+Temporary stack: